import type { IContentConfigProps } from '@/components/page-content/type'

const contentConfig: IContentConfigProps = {
  pageName: 'role',
  header: {
    title: '角色列表',
    btnTitle: '新建角色'
  },
  propsList: [
    { type: 'selection', width: '60px' },
    { type: 'index', label: '序号', width: '60px' },
    { label: '角色名称', prop: 'name' },
    { label: '权限介绍', prop: 'intro' },
    { type: 'custom', label: '创建时间', prop: 'createAt', slotName: 'createAt' },
    { type: 'custom', label: '更新时间', prop: 'updateAt', slotName: 'updateAt' },
    { type: 'handler', label: '操作' }
  ]
}

export default contentConfig
